﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SPlayerRecord extends Object
    {
        public var recordId:int;
        public var val:int;
        public var valEx:int;
        public var valEx2:int;
        public var name:String;

        public function SPlayerRecord()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.recordId);
            param1.writeInt(this.val);
            param1.writeInt(this.valEx);
            param1.writeInt(this.valEx2);
            param1.writeString(this.name);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.recordId = param1.readInt();
            this.val = param1.readInt();
            this.valEx = param1.readInt();
            this.valEx2 = param1.readInt();
            this.name = param1.readString();
            return;
        }// end function

    }
}
